home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 35
/
PC Gamer IT CD 35 1-2.iso
/
Elink
/
NSCOMM
/
NCJS10.JAR
/
security.js
< prev
next >
Wrap
Text File
|
1997-10-20
|
988b
|
38 lines
/*
* security.js
*
* Copyright (c) 1997 Netscape Communications Corporation, All Rights Reserved
*
* Functions that manage the options->security preferences
*/
function onload()
{
var getCookies = depth.GetNetscapePrefBool("netcaster.castanet.acceptCookies", true, true);
if (getCookies == true) {
document.security_form.marimbaCookies.checked = true;
} else {
document.security_form.marimbaCookies.checked = false;
}
var doLogging = depth.GetNetscapePrefBool("netcaster.castanet.loggingEnabled", true, true);
if (doLogging == true) {
document.security_form.marimbaLogging.checked = true;
} else {
document.security_form.marimbaLogging.checked = false;
}
var doProfiling = depth.GetNetscapePrefBool("netcaster.castanet.profileEnabled", true, true);
if (doProfiling == true) {
document.security_form.marimbaProfiling.checked = true;
} else {
document.security_form.marimbaProfiling.checked = false;
}
}
void(0);